package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公告板管理对象 call_board
 * 
 * @author cyb
 * @date 2021-08-12
 */
public class CallBoard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公告id */
    private Long id;

    /** 公告创建时间 */
    @Excel(name = "公告创建时间")
    private String creatTime;

    /** 公告具体链接 */
    @Excel(name = "公告具体链接")
    private String url;

    /** 公告封面 */
    @Excel(name = "公告封面")
    private String photo;

    /** 公告(是否)上线 */
    @Excel(name = "公告(是否)上线")
    private String status;

    /** 公告创建者 */
    @Excel(name = "公告创建者")
    private String creater;

    /** 公告浏览量 */
    @Excel(name = "公告浏览量")
    private Long viewCount;

    /** 公告(是否)置顶 */
    @Excel(name = "公告(是否)置顶")
    private String stick;

    /** 公告设置置顶的时间 */
    @Excel(name = "公告设置置顶的时间")
    private String sticktime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCreatTime(String creatTime) 
    {
        this.creatTime = creatTime;
    }

    public String getCreatTime() 
    {
        return creatTime;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setViewCount(Long viewCount) 
    {
        this.viewCount = viewCount;
    }

    public Long getViewCount() 
    {
        return viewCount;
    }
    public void setStick(String stick)
    {
        this.stick = stick;
    }

    public String getStick()
    {
        return stick;
    }
    public void setSticktime(String sticktime) 
    {
        this.sticktime = sticktime;
    }

    public String getSticktime() 
    {
        return sticktime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("creatTime", getCreatTime())
            .append("url", getUrl())
            .append("photo", getPhoto())
            .append("status", getStatus())
            .append("creater", getCreater())
            .append("viewCount", getViewCount())
            .append("stick", getStick())
            .append("sticktime", getSticktime())
            .toString();
    }
}
